﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AlgoLogicServer
{
    class User
    {
        //attributes
        private string uniqueName;
        private object clientSocket;
        private int index;

        //Constructor
        public User(int index, string uniqueName, object clientSocket)
        {
            this.index = index;
            this.uniqueName = uniqueName;
            this.clientSocket = clientSocket;
        }

        //Get/Set Methods
        public string UniqueName
        {
            get { return uniqueName; }
            set { uniqueName = value; }
        }
        public object ClientSocket
        {
            get { return clientSocket; }
            set { clientSocket = value; }
        }
        public int Index
        {
            get { return index; }
            set { index = value; }
        }
    }
}
